package com.itheima.common.Com;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * controller的登入入参
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Employee {

    //分类编号
    private String id;
    //真实姓名
    private String name;
    //用户名
    private String username;
    //用户密码
    private String password;
    //电话
    private String phone;
    //性别
    private int sex;
    //用户id
    private String idNumber;
    //启用1 禁用0
    private int status;
    //创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    //修改时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    //创建人
    private String createUser;
    //修改人
    private String updateUser;

}
